addition array numpy

41

data = np.array([1, 2])
ones = np.ones(2, dtype=int)
data + ones

Comments

Submit
0 Comments